﻿<UserControl x:Class="Simp.Interpreter.ErrorOutputControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	Visibility="Collapsed">
	<StackPanel>
		<TextBlock FontWeight="Bold">Error:</TextBlock>
		<TextBlock
			Foreground="Yellow" TextWrapping="WrapWithOverflow"
			Text="{Binding SimpException.Message, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}" />
	</StackPanel>
</UserControl>
